home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / cnet / cn305c_2.lha / support / FidoNet / CNet-TrapDoor_SETUP next >
Text File  |  1994-02-13  |  8KB  |  126 lines

  1. Feb 13, 1994
  2. Hints and Tips for setting up TrapDoor with CNet 3.05c+
  3. by Jim Selleck
  4.  
  5. I.  FIDONET OVERVIEW  (a simplifed sketch)
  6.  
  7.   Okay... setting up FidoNet can be confusing and difficult at first.  Those
  8. of us who have done it can attest to that.  However, once you have it GOING,
  9. Fido can be very simple, straighforward, and even largely self-maintaining,
  10. if you want to write AREXX script files to do the ongoing work for you.
  11.  
  12.   Here are a few fundamentals I wish that I had known at the start.  Those of
  13. you who already HAVE Fido running and just wish to know about the CHANGES
  14. made in version 3.05c, should skip this section.
  15.  
  16. 1.  Fido messages come in two types:  "NetMail" is private email between users
  17.     of different BBS's on the network.  "EchoMail" is public posts and
  18.     responses which appear on the various bulletin board areas of Fido.  Each
  19.     bulletin board area is called an "Echo".  Any node (individual BBS) on the
  20.     network may take any number of the echoes.
  21.  
  22. 2.  Each Fido echo has a "tagname" which is used to route echomail correctly.
  23.     Once you are assigned a node number, you will be sending an "AREAFIX"
  24.     message to your "boss" node (you get your Fido feed from your boss).
  25.     Inside the AREAFIX message you will list the tagnames of all of the echoes
  26.     that you wish to take on your BBS.  Typically, AREAFIX can also be used
  27.     to request a LIST of the tagnames available through your boss.
  28.  
  29. 3.  To administer Fido activity, you need two pieces of software: a "mailer"
  30.     and a "tosser".  TrapDoor is a mailer.  Its function is to send messages
  31.     out (export) to other systems, and to bring messages in (import) to your
  32.     computer.  The tosser software takes the incoming message packets and
  33.     handles them in a variety of ways.  You could think of the "tossing"
  34.     process as being like a clerk in a post office sorting out envelopes
  35.     and literally tossing them into the correct boxes and bins before him.
  36.     CNet's TOSS program is a full-functioned Tosser/Packer which unpacks the
  37.     incoming mail packets, which are typically received in "archived" form
  38.     such as LhA or ZIP, and then imports messages into private mail boxes
  39.     (NETMAIL) or into the bulletin board "echo" areas (ECHOMAIL).  Messages
  40.     may also be tossed and repacked into your OUTBOUND storage area so they
  41.     can be exported (by the mailer software) to other Fido systems.
  42.  
  43. 4.  Basically, TOSS needs to be run BEFORE TrapDoor sessions occur, in order
  44.     to pack any outgoing mail.  And again AFTER any TrapDoor session, in order
  45.     to unpack and import incoming mail, and/or toss and pack mail which is
  46.     being routed or tossed THROUGH your node to others.  EchoMail messages may
  47.     be imported into your message bases, or may be simply tossed and repacked
  48.     into your outbound directory to be routed to another node, or BOTH.
  49.  
  50. 5.  You are required to keep on your system an up-to-date listing of all of
  51.     nodes in FidoNet.  This is called the nodelist, and it is updated every
  52.     week in a special file called a "nodediff" which you will receive from
  53.     your boss.  TrapDoor comes with a special program called "TrapList" which
  54.     updates your nodelist and creates quick search files.  Whenever a user on
  55.     your BBS attempts to send NetMail to a user on another Fido system, the
  56.     nodelist is automatically searched to make sure that the address is to a
  57.     valid and currently active node system.
  58.  
  59. 6.  TrapDoor's instructions are long and intimidating.  What they DON'T tell
  60.     you right at the beginning is this:  All you need to get TrapDoor running
  61.     is to create a text file called "trapdoor.cfg" which you usually place
  62.     in your "mail:" area.  The trapdoor.cfg file will contain information like
  63.     your Fido node number and the names of the system and system operator.
  64.     Those are all sent out for identification at the start of Fido mail
  65.     sessions.  You also include complete instructions for how TrapDoor should
  66.     talk to your modem, including the serial device name, unit number, and
  67.     all the correct modem initialization and command strings, just as you
  68.     would have to set up inside any terminal program.  You must specify the
  69.     actions TrapDoor will take when connecting with an incoming caller, and
  70.     the command TrapDoor will use to transfer control to CNet when necessary.
  71.     There are example TrapDoor.cfg files both on your TrapDoor disk and in
  72.     your CNet disk's SUPPORT area.
  73.  
  74. II. CHANGES TO CNET/TRAPDOOR OPERATIONS FOR CNET VERSION 3.05C
  75.  
  76.    There are now THREE different ways to set up CNet/3 and TrapDoor together.
  77. You must choose which of those 3 suits your system needs best.
  78.  
  79. 1.  TrapDoor runs all the time and SPAWNS a CNet port for BBS calls.
  80. 2.  TrapDoor AND the CNet port BOTH run concurrently, TrapDoor answers calls,
  81.     and transfers control of the serial port to CNet for BBS calls.
  82. 3.  CNet runs all the time and SPAWNS TrapDoor for Fido calls.
  83.  
  84.    Confused yet?  Method 1 is the "traditional" way to run a BBS system with
  85. TrapDoor.  TrapDoor answers ALL calls in to its port, and SPAWNS a CNet port
  86. if the caller is seeking access to the BBS.  At the conclusion of the BBS call,
  87. the CNet port is closed and control of the modem is transferred BACK to
  88. TrapDoor.  A special argument "TRAP" is placed in the command that spawns
  89. the CNet port to make it close itself at the conclusion of the BBS session.
  90.  
  91.    Method 2 is similar to 1, except that BOTH the CNet port and TrapDoor run
  92. simultaneously.  The CNet port must be set to default to "OFFLINE" mode, which
  93. means the CNet port remains running, but releases control of the serial port.
  94. This allows TrapDoor to answer all calls.  BBS calls are then TRANSFERRED over
  95. to the CNet port using a CNet program called "BBSWAKE".  At the conclusion of
  96. BBS calls, the CNet port goes offline and control is transferred back to
  97. TrapDoor.
  98.  
  99. NOTE:  Method 2 was the standard recommended for use with CNet 3.04.  The
  100.        program then called "trapwake" has been RENAMED "bbswake" for version
  101.        3.05c.  If you are updating and wish to continue using method 2, you
  102.        will need to CHANGE the reference to "trapwake" to "bbswake" in your
  103.        trapdoor.cfg file!
  104.  
  105.    Method 3 is the new kid on the block.  It was noted that on the average
  106. BBS, about 98% of your calls will be for the BBS and only the remaining few
  107. would be Fido mail exchanges.  Therefore a method was developed to allow
  108. CNet to answer ALL calls, and automatically detect Fido calls, SPAWNING
  109. TrapDoor when needed.  This is the inverse of the traditional method 1.  At
  110. the time of this writing, we are using method 3 on the CNet service BBS,
  111. Future World, with complete success.  However, there are situations where
  112. this method is NOT recommended at this time:  If you are expecting Fido calls
  113. from ONLY TrapDoor equipped Amigas, you should be fine, however if you will
  114. have mail sessions with older IBM systems running early version Fido software,
  115. you may find that the TIME it takes to transfer control from CNet to TrapDoor
  116. will cause the handshaking to FAIL.  In that case you will need to revert to
  117. methods 1 or 2 which allow TrapDoor to answer the line at all times.
  118.  
  119.   In addition, method 3 requires that you modify any AREXX scripts you might
  120. be using to make TrapDoor call out to "poll" your boss for mail.  Commands
  121. must be sent to the CNet port to make it give up control of the serial port
  122. before the session and then take control back at the end of the session.  And
  123. of course TrapDoor itself must be started up in order to make the call, and
  124. then killed at the end of the session.  Some example method 3 scripts are
  125. included in the CNet disks SUPPORT directory.
  126.